package com.deanlib.cabinet.ui.recyclerview;

import android.view.View;

import androidx.annotation.NonNull;
import androidx.databinding.DataBindingUtil;
import androidx.recyclerview.widget.RecyclerView;

/**
 * Created by Dean on 2021/7/1
 */
public class CommonViewHolder<T> extends RecyclerView.ViewHolder {

    public T binding;

    public CommonViewHolder(@NonNull View itemView) {
        super(itemView);
        binding = (T) DataBindingUtil.bind(itemView);
    }

}
